package com.panda.mall.common.mallWares.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * author: tcy
 * createDate: 2023/3/21
 * description: 到处商品类别
 */
@Data
public class ExportCategoryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类名
     */
    @ExcelProperty(value = "商品名称")
    private String categoryName;
    /**
     * 父类id
     */
    @ExcelProperty(value = "商品大类")
    private String parentId;
    /**
     * 分类等级
     */
    @ExcelProperty(value = "商品等级")
    private String categoryLevel;
    /**
     * 分类图标
     */
    @ExcelProperty(value = "商品图标")
    private String categoryIcon;
    /**
     * 排序号
     */
    @ExcelProperty(value = "排序号")
    private Integer sort;
    /**
     * 计量单位
     */
    @ExcelProperty(value = "计量单位")
    private String unit;
    /**
     * 商品数量
     */
    @ExcelProperty(value = "商品数量")
    private Integer count;

}
